home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000059_fdc@columbia.edu_Wed Dec 10 12:50:22 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: password query fails
Date: 10 Dec 2003 17:49:19 GMT
Organization: Columbia University
Lines: 35
Message-ID: <slrnbten4v.81m.fdc@sesame.cc.columbia.edu>
References: <br7ila$761g$1@uni-berlin.de>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1071078559 1239 128.59.59.56 (10 Dec 2003 17:49:19 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 10 Dec 2003 17:49:19 GMT
User-Agent: slrn/0.9.7.4 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14735
In article <br7ila$761g$1@uni-berlin.de>, Michael Poser wrote:
: fist of all, iam a kermit newbie.
:
: I want to write a script that restarts every night the Accesspoints of
: our University (round about 40). It seems to be easy, but i have a few
: problems:
:
: The password query works a few times only , sometimes it works,
: sometimes it fails (But if the password query was successfull, the rest
: of the script works fine). I dont know why (If i set a pause between
: in+output it fails to 100 percent). If i take a look at \v(input) it
: shows no diferrence between a succesfull login or a bad login. It shows
: always:
: <- It seems to be strange to me, why is it so cryptic,
: why is it not "password:"??
:
This is explained in "Using C-Kermit" on page 429 (English edition).
In some cases, escape sequences can interfere with INPUT matching.
You have to write your INPUT command in a way that allows for the
escape sequences. To find out what the host is really sending and in
what sequence, use "log session" to record your login, and then write
your script according to what you find there.
An easier to do this might be to let Kermit write the script for you:
learn /on script.ksc
then perform the login sequence by hand, then:
learn /close
Then look at the script.ksc file to see what it wrote.
- Frank